package com.netty.tcp.ew.service.impl;

import com.netty.tcp.ew.mapper.PortReceiveMapper;
import com.netty.tcp.ew.domain.PortReceive;
import com.netty.tcp.ew.service.PortReceiveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author hzj
 * @date 2021/1/5 16:48
 */
@Service
public class PortReceiveServiceImpl implements PortReceiveService {
    @Autowired
    private PortReceiveMapper portReceiveMapper;
    @Override
    public int add(PortReceive portReceive) {
        return portReceiveMapper.add(portReceive);
    }
}
